require('es6-promise').polyfill();

export default class dataHandle {
    static handlePage(page) {
        // let dataList = [];
        // for (let j = 0, len = page["list"].length; j < len; j++)
        //     dataList[j] = actualUtil.handlePageSingle(page["list"][j]); //处理列表
        // page["list"] = dataList;
        return page;
    };
    static handleList(list) {
        // let dataList = [];
        // for (let j = 0, len = list.length; j < len; j++)
        //     dataList[j] = actualUtil.handleListSingle(list[j]); //处理列表
        // list = dataList;
        return list;
    };
    static handleSingle(single) {
        //single=actualUtil.handleSingle(single);
        return single;
    };
    static requestHandle(data) {
        //data=actualUtil.requestHandle(data);
        return data;
    };
}